﻿using System;

class GetTheGreaterNumber

            // Write a program that gets two numbers from the console and prints the greater of them. Don’t use 'if' statements.

{
    static void Main()
    {
        Console.WriteLine("Enter the first number:");
        int num1 = int.Parse(Console.ReadLine());
        Console.WriteLine("Enter the second number:");
        int num2 = int.Parse(Console.ReadLine());
        Console.WriteLine("Of the two entered numbers, {0} is the greater one!", Math.Max(num1, num2));
    }
}

